﻿using B.S.Requst;
using MediatR;

namespace B.S.Data.MES.API.Applications.GenerateItemsApplication
{
    /// <summary>
    /// 更新生产计划物品命令
    /// </summary>
    public class UpdateGenerateItemsCommand : IRequest<APIRequst<int>>
    {
        /// <summary>
        /// 物品ID
        /// </summary>
        public int GenerateItemsId { get; set; }
        
        /// <summary>
        /// 物品编号
        /// </summary>
        public string ItemNumber { get; set; } = string.Empty;
        
        /// <summary>
        /// 物品名称
        /// </summary>
        public string ItemName { get; set; } = string.Empty;
        
        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel { get; set; } = string.Empty;
        
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;
        
        /// <summary>
        /// 物品类别
        /// </summary>
        public string ItemCategory { get; set; } = string.Empty;
        
        /// <summary>
        /// 物品分类
        /// </summary>
        public string ItemClassification { get; set; } = string.Empty;
        
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; } = string.Empty;
        
        /// <summary>
        /// 订单名称
        /// </summary>
        public string OrderName { get; set; } = string.Empty;
        
        /// <summary>
        /// 基础信息外键
        /// </summary>
        public int? GenerateplanBasicId { get; set; }
    }
}
